package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户信息管理对象 book_user
 *
 * @author ruoyi
 * @date 2020-03-09
 */
public class BookUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户匿名 */
    @Excel(name = "用户匿名")
    private String userName;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String number;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private Integer sex;

    /** 用户年龄 */
    @Excel(name = "用户年龄")
    private Integer age;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String password;

    /** 头像 */
    @Excel(name = "头像")
    private String heardPic;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setHeardPic(String heardPic)
    {
        this.heardPic = heardPic;
    }

    public String getHeardPic()
    {
        return heardPic;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userName", getUserName())
                .append("number", getNumber())
                .append("sex", getSex())
                .append("age", getAge())
                .append("password", getPassword())
                .append("heardPic", getHeardPic())
                .append("address", getAddress())
                .toString();
    }
}